﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using RecruitStudents.Utility;
using RecruitStudents.Utility.Model;
using RecruitStudents.Utility.Json;

namespace RecruitStudents.Client.WS
{
    /// <summary>
    /// BaseService 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务，请取消注释以下行。 
    // [System.Web.Script.Services.ScriptService]
    public class BaseService : WS.Helper.BaseServiceHelper
    {
        #region 数据字典维护
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取维护字典所有类别 DataTble数据列表</i></b>")]
        public string GetDicMain()
        {
            return ServiceBase.GetDicMain().ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据TableName获取字典项 DataTble数据列表</i></b>
            <br><font color='blue'>string</font> strTableName:表名
            <br><font color='blue'>string</font> strIsActive:是否有效")]
        public string GetDicValueByTableName(string strTableName, string strIsActive)
        {
            return ServiceBase.GetDicValueByTableName(strTableName, strIsActive).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据TableName和主键获取字典项 DataTble数据列表</i></b>
            <br><font color='blue'>string</font> strTableName:表名
            <br><font color='blue'>string</font> strDicNo:主键")]
        public string GetDicValue(string strTableName, string strDicNo)
        {
            return ServiceBase.GetDicValue(strTableName, strDicNo).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据TableName和主键，值保存字典</i></b>
            <br><font color='blue'>string</font> strTableName:表名
            <br><font color='blue'>string</font> strDicNo:主键
            <br><font color='blue'>string</font> DicName:值")]
        public string SaveDicValue(string strTableName, string DicNO, string DicName, string IsActive)
        {
            return ServiceBase.SaveDicValue(strTableName, DicNO, DicName, IsActive).ToJson();
        }

        #endregion

        #region Mac管理
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取Mac和考场 DataTble数据列表</i></b>
            <br><font color='blue'>string</font> strKSND:考试年度
            <br><font color='blue'>string</font> strKC:考场ID")]
        public string GetExamMacByRoomTable(string strKSND)
        {
            return ServiceBase.GetExamMacByRoomTable(strKSND).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取Mac DataTble数据列表</i></b>
            <br><font color='blue'>string</font> strKSND:考试年度
            <br><font color='blue'>string</font> strKC:考场ID
            <br><font color='blue'>string</font> strSFTY:是否同意
            <br><font color='blue'>string</font> strMacName:Mac机器名称")]
        public string GetExamMacTable(string strKSND, string strKC, string strSFTY, string strMacName)
        {
            return ServiceBase.GetExamMacTable(strKSND, strKC, strSFTY, strMacName).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取Mac数据实体</i></b>
            <br><font color='blue'>string</font> strMacID:mac数据id")]
        public string GetExamMacModel(string strMacID)
        {
            return ServiceBase.GetExamMacModel(strMacID).ToJson<TB_Exam_Mac>();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存Mac数据 返回JsonMessage</i></b>
            <br><font color='blue'>string</font> strJson:TB_Exam_Mac实体Json数据格式")]
        public string SaveExamMac(string strJson)
        {
            return ServiceBase.SaveExamMac(strJson).ToJson<JsonMessage>();
        }
        #endregion

        #region 用户管理
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取用户数据列表</i></b>
            <br><font color='blue'>string</font> strLoginName:登录名
            <br><font color='blue'>string</font> strName:姓名
            <br><font color='blue'>string</font> strType:用户类别")]
        public string GetUserTable(string strLoginName, string strName, string strType)
        {
            return ServiceBase.GetUserTable(strLoginName, strName, strType).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取用户数据实体</i></b>
            <br><font color='blue'>string</font> strID:主键数据")]
        public string GetUserModel(string strID)
        {
            return ServiceBase.GetUserModel(strID).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存用户数据 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strJson:用户实体Json数据")]
        public string SaveUser(string strJson)
        {
            return ServiceBase.SaveUser(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除用户数据 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strID:数据主键ID")]
        public string DeleteUser(string strID)
        {
            return ServiceBase.DeleteUser(strID).ToJson();
        }
        #endregion

        #region 角色管理
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取角色数据列表</i></b>
            <br><font color='blue'>string</font> strRoleName:角色名称
            <br><font color='blue'>string</font> strIsActive:是否有效")]
        public string GetRoleTable(string strRoleName, string strIsActive)
        {
            return ServiceBase.GetRoleTable(strRoleName, strIsActive).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取角色数据实体</i></b>
            <br><font color='blue'>string</font> strID:数据主键ID")]
        public string GetRoleModel(string strID)
        {
            return ServiceBase.GetRoleModel(strID).ToJson();
        }


        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存角色数据实体 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strJson:角色实体Json")]
        public string SaveRole(string strJson)
        {
            return ServiceBase.SaveRole(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除角色数据 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strID:数据主键ID")]
        public string DeleteRole(string strID)
        {
            return ServiceBase.DeleteRole(strID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取所有模块数据</i></b")]
        public string GetModuleTable()
        {
            return ServiceBase.GetModuleTable().ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存角色权限数据实体 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strJson:角色权限实体Json")]
        public string SaveRoleAuth(string strJson)
        {
            return ServiceBase.SaveRoleAuth(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取角色权限数据Table</i></b>
            <br><font color='blue'>string</font> strRoleID:角色数据ID")]
        public string GetRoleAuthModuleTable(string strRoleID)
        {
            return ServiceBase.GetRoleAuthModuleTable(strRoleID).ToJson();
        }
        #endregion

        #region 考官管理
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考官列表，下拉框</i></b>
            <br><font color='blue'>string</font> strYear:年份
            <br><font color='blue'>string</font> strRoomID:考场ID
            <br><font color='blue'>string</font> strSpec:专业编码")]
        public string GetExaminerTableByDropDown(string strYear, string strRoomID, string strSpec)
        {
            return this.ServiceBase.GetExaminerTableByDropDown(strYear, strRoomID, strSpec).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考官列表</i></b>
            <br><font color='blue'>string</font> strLoginName:登录名
            <br><font color='blue'>string</font> strName:姓名
            <br><font color='blue'>string</font> strType:考官类别
            <br><font color='blue'>string</font> strSSZY:所属专业
            <br><font color='blue'>string</font> strYear:年份")]
        public string GetExaminerTable(string strLoginName, string strName, string strType, string strSSZY, string strYear)
        {
            return this.ServiceBase.GetExaminerTable(strLoginName, strName, strType, strSSZY, strYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考官实体对象</i></b>
            <br><font color='blue'>string</font> strExaminerID:考官ID")]
        public string GetExaminerModel(string strExaminerID)
        {
            return this.ServiceBase.GetExaminerModel(strExaminerID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考官实体对象 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strJson:Json数据格式")]
        public string SaveExaminer(string strJson)
        {
            return this.ServiceBase.SaveExaminer(strJson).ToJson();
        }
        #endregion

        #region 考官考场关联
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考官考场DataTable数据</i></b>
            <br><font color='blue'>string</font> strExamRoomNO:考场ID
            <br><font color='blue'>string</font> strExaminerID:考官ID
            <br><font color='blue'>string</font> strExamYear:年度")]
        public string GetExaminerRoomDataTable(string strExamRoomNO, string strExaminerID, string strExamYear)
        {
            return this.ServiceBase.GetExaminerRoomDataTable(strExamRoomNO, strExaminerID, strExamYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除考官实体对象 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strExamRoomNO:考场ID
            <br><font color='blue'>string</font> strExaminerID:考官ID
            <br><font color='blue'>string</font> strExamYear:年度")]
        public string DeleteExaminerRoomMapping(string strExamRoomNO, string strExaminerID, string strExamYear)
        {
            return this.ServiceBase.DeleteExaminerRoomMapping(strExamRoomNO, strExaminerID, strExamYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考官考场实体对象 返回JsonMessage数据</i></b>
            <br><font color='blue'>string</font> strJson:Json数据格式")]
        public string SaveExaminerRoomMapping(string strJson)
        {
            return this.ServiceBase.SaveExaminerRoomMapping(strJson).ToJson();
        }
        #endregion

        #region 考生号相关
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考生号规则列表</i></b>
            <br><font color='blue'>string</font> strName:名称")]
        public string GetDicNMTSignUpTable(string strName)
        {
            return ServiceBase.GetDicNMTSignUpTable(strName).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考生号规则实体对象 </i></b>
            <br><font color='blue'>string</font> strNativePlaceNO:编号")]
        public string GetDicNMTSignUpModel(string strNativePlaceNO)
        {
            return ServiceBase.GetDicNMTSignUpModel(strNativePlaceNO).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考生号规则实体对象 </i></b>
            <br><font color='blue'>string</font> strJson:实体Json数据格式")]
        public string SaveDicNMTSignUp(string strJson)
        {
            return ServiceBase.SaveDicNMTSignUp(strJson).ToJson();
        }
        #endregion

        #region 专业相关
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业基本信息表 Model </i></b>
            <br><font color='blue'>string</font> strSpecialityKindsNO:专业代码")]
        public string GetSpecialityKindsModel(string strSpecialityKindsNO)
        {
            return ServiceBase.GetSpecialityKindsModel(strSpecialityKindsNO).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业表DataTable </i></b>
            <br><font color='blue'>string</font> strYear:年份
            <br><font color='blue'>string</font> strSpecialityKindsNO:专业代码
            <br><font color='blue'>string</font> strSpecialityKindsName:专业名称
            <br><font color='blue'>string</font> strIsActive:是否有效
            <br><font color='blue'>string</font> strIsSchool:是否校考")]
        public string GetSpecialityKindsDataTable(string strYear, string strSpecialityKindsNO, string strSpecialityKindsName, string strIsActive, string strIsSchool)
        {
            return ServiceBase.GetSpecialityKindsDataTable(strYear, strSpecialityKindsNO, strSpecialityKindsName, strIsActive, strIsSchool).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业明细表DataTable </i></b>
            <br><font color='blue'>string</font> strSpecialityKindsNO:专业代码")]
        public string GetSpecialityKindsDetailTable(string strSpecialityKindsNO)
        {
            return ServiceBase.GetSpecialityKindsDetailTable(strSpecialityKindsNO).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存专业信息表 </i></b>
            <br><font color='blue'>string</font> strJson:专业信息表实体Json数据")]
        public string SaveSpecialityKinds(string strJson)
        {
            return ServiceBase.SaveSpecialityKinds(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存专业信息明细表 </i></b>
            <br><font color='blue'>string</font> strJson:专业信息明细表实体Json数据")]
        public string SaveSpecialityKinds_Detail(string strJson)
        {
            return ServiceBase.SaveSpecialityKinds_Detail(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业明细表数据DataTable </i></b>
            <br><font color='blue'>string</font> SpecialityKindsNO:专业代码
            <br><font color='blue'>string</font> IsActive:是否有效")]
        public string GetSpecialityKinds_DetailDataTable(string SpecialityKindsNO, string IsActive)
        {
            return ServiceBase.GetSpecialityKinds_DetailDataTable(SpecialityKindsNO, IsActive).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除专业明细表数据</i></b>
            <br><font color='blue'>string</font> SpecialityKindsNo:专业代码
            <br><font color='blue'>string</font> SpecialityKindsNo_Detail:专业明细代码")]
        public string DeleteSpecialityKinds_Detail(string SpecialityKindsNo, string SpecialityKindsNo_Detail)
        {
            return ServiceBase.DeleteSpecialityKinds_Detail(SpecialityKindsNo, SpecialityKindsNo_Detail).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存专业明细子表数据</i></b>
            <br><font color='blue'>string</font> strJson:专业明细子表Json")]
        public string SaveSpecialityKinds_Detail_Sub(string strJson)
        {
            return ServiceBase.SaveSpecialityKinds_Detail_Sub(strJson).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业明细子表数据</i></b>
            <br><font color='blue'>string</font> SpecialityKindsDetailNO:专业明细表代码
            <br><font color='blue'>string</font> IsActive:是否有效")]
        public string GetSpecialityKinds_Detail_SubDataTable(string SpecialityKindsDetailNO, string IsActive)
        {
            return ServiceBase.GetSpecialityKinds_Detail_SubDataTable(SpecialityKindsDetailNO, IsActive).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除专业明细子表数据</i></b>
            <br><font color='blue'>string</font> SpecialityKindsNo_Detail:专业明细表代码
            <br><font color='blue'>string</font> SpecialityKindsNo_Detail_Sub:专业明细子表代码")]
        public string DeleteSpecialityKinds_Detail_Sub(string SpecialityKindsNo_Detail, string SpecialityKindsNo_Detail_Sub)
        {
            return ServiceBase.DeleteSpecialityKinds_Detail_Sub(SpecialityKindsNo_Detail, SpecialityKindsNo_Detail_Sub).ToJson();
        }
      
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取报考的考生类型</i></b>")]
        public string GetSignUpStudentsType()
        {
            return ServiceBase.GetSignUpStudentsType().ToJson();
        }
        #endregion

        #region 考点相关
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考点生源地, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:List数据源Json")]
        public string SaveSysExamPlaceLimit(string strJson)
        {
            return ServiceBase.SaveSysExamPlaceLimit(strJson).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考点, JsonMessage</i></b>
            <br><font color='blue'>string</font> strJson:实体数据源Json")]
        public string SaveSysExamPlace(string strJson)
        {
            return ServiceBase.SaveSysExamPlace(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考点数据源，DataTable </i></b>
            <br><font color='blue'>string</font> strExamProvince:生源地
            <br><font color='blue'>string</font> strExamPlaceName:考点名称
            <br><font color='blue'>string</font> strIsActive:是否有效")]
        public string GetSysExamPlaceDataTable(string strExamProvince, string strExamPlaceName, string strIsActive)
        {
            return ServiceBase.GetSysExamPlaceDataTable(strExamProvince, strExamPlaceName, strIsActive).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据考点获取限制报考生源地，DataTable </i></b> 
            <br><font color='blue'>string</font> strExamPlaceNO:考点编号")]
        public string GetSysExamPlace_Limit(string strExamPlaceNO)
        {
            return ServiceBase.GetSysExamPlace_Limit(strExamPlaceNO).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据考点获取考点实体对象，Model </i></b> 
            <br><font color='blue'>string</font> strExamPlaceNO:考点编号")]
        public string GetSysExamPlaceModel(string strExamPlaceNO)
        {
            return ServiceBase.GetSysExamPlaceModel(strExamPlaceNO).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据考点删除，JsonMessage </i></b> 
            <br><font color='blue'>string</font> strExamPlaceNO:考点编号")]
        public string DeleteSysExamPlace(string strExamPlaceNO)
        {
            return ServiceBase.DeleteSysExamPlace(strExamPlaceNO).ToJson();
        }
        #endregion

        #region 算分规则
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据年份获取算分规则数据, DataTable </i></b>
            <br><font color='blue'>string</font> strExamYear:考试年份")]
        public string GetExamCalculateTypeFormTable(string strExamYear)
        {
            return ServiceBase.GetExamCalculateTypeFormTable(strExamYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据主键ID获取实体, TB_Rule_CalculateScore </i></b>
            <br><font color='blue'>string</font> strCalculateScoreID:主键ID")]
        public string GetExamCalculateTypeFormModel(string strCalculateScoreID)
        {
            return ServiceBase.GetExamCalculateTypeFormModel(strCalculateScoreID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存算分规则, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:List数据源Json")]
        public string SaveExamCalculateTypeForm(string strJson)
        {
            return ServiceBase.SaveExamCalculateTypeForm(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除算分规则, JsonMessage </i></b>
            <br><font color='blue'>string</font> strCalculateScoreID:主键")]
        public string DeleteExamCalculateTypeForm(string strCalculateScoreID)
        {
            return ServiceBase.DeleteExamCalculateTypeForm(strCalculateScoreID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据算分ID获取算分规则明细数据, DataTable </i></b>
            <br><font color='blue'>string</font> strCalculateScoreID:算分规则ID")]
        public string GetExamCalculateTypeFormTable_Detail(string strCalculateScoreID)
        {
            return ServiceBase.GetExamCalculateTypeFormTable_Detail(strCalculateScoreID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据算分ID获取算分规则明细实体, TB_Rule_CalculateScoreDetail </i></b>
            <br><font color='blue'>string</font> strCalculateScoreDetailID:算分规则明细ID")]
        public string GetExamCalculateTypeFormModel_Detail(string strCalculateScoreDetailID)
        {
            return ServiceBase.GetExamCalculateTypeFormModel_Detail(strCalculateScoreDetailID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存算分规则明细数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:TB_Rule_CalculateScoreDetail Json数据")]
        public string SaveExamCalculateTypeForm_Detail(string strJson)
        {
            return ServiceBase.SaveExamCalculateTypeForm_Detail(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除算分规则明细数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strID:TB_Rule_CalculateScoreDetail 主键ID")]
        public string DeleteExamCalculateTypeForm_Detail(string strID)
        {
            return ServiceBase.DeleteExamCalculateTypeForm_Detail(strID).ToJson();
        }
        #endregion

        #region 考场相关
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考务信息, DataTable </i></b>
            <br><font color='blue'>string</font>")]
        public string GetExamEntretenimientohRoomTable()
        {
            return ServiceBase.GetExamEntretenimientohRoomTable().ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考场Pad信息, DataTable </i></b>
            <br><font color='blue'>string</font> strRoomMacExamRoomNO:考场编号
            <br><font color='blue'>string</font> strRoomMacNO:Pad编码
            <br><font color='blue'>string</font> strRoomMacExamYear:年份")]
        public string GetRoomMacDataTable(string strRoomMacExamRoomNO, string strRoomMacNO, string strRoomMacExamYear)
        {
            return ServiceBase.GetRoomMacDataTable(strRoomMacExamRoomNO, strRoomMacNO, strRoomMacExamYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考务信息, DataTable </i></b>
            <br><font color='blue'>string</font> strYear:年份
            <br><font color='blue'>string</font> strExamPlaceID:考场编码
            <br><font color='blue'>string</font> strSpecialityKindsNO:专业
            <br><font color='blue'>string</font> strExamLevel:考试级别")]
        public string GetExamEntretenimientohTable(string strYear, string strExamPlaceID, string strSpecialityKindsNO, string strExamLevel)
        {
            return ServiceBase.GetExamEntretenimientohTable(strYear, strExamPlaceID, strSpecialityKindsNO, strExamLevel).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考场数据, DataTable </i></b>
            <br><font color='blue'>string</font> strEntretenimientohID:考务编号
            <br><font color='blue'>string</font> strYear:年份")]
        public string GetExamRoomTable(string strEntretenimientohID, string strYear)
        {
            return ServiceBase.GetExamRoomTable(strEntretenimientohID, strYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据考场编号获取考场实体, Model </i></b>
            <br><font color='blue'>string</font> strExamRoomNO:考场编号")]
        public string GetExamRoomModel(string strExamRoomNO)
        {
            return ServiceBase.GetExamRoomModel(strExamRoomNO).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考场数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:TB_Exam_ExamRoom实体Json数据")]
        public string SaveExamRoom(string strJson)
        {
            return ServiceBase.SaveExamRoom(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考场Pad数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:TB_Exam_ExamRoomMacMapping")]
        public string SaveExamRoomMacMapping(string strJson)
        {
            return ServiceBase.SaveExamRoomMacMapping(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考场Pad数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:TB_Exam_ExamRoomMacMapping")]
        public string SaveExamRoomMacMappingList(string strJson)
        {
            return ServiceBase.SaveExamRoomMacMappingList(strJson).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除考场Pad数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strExamRoomNO:考场编号
            <br><font color='blue'>string</font> strMac:Mac编号
            <br><font color='blue'>string</font> strYear:年份")]
        public string DeleteExamRoomMacMapping(string strExamRoomNO, string strMac, string strYear)
        {
            return ServiceBase.DeleteExamRoomMacMapping(strExamRoomNO, strMac, strYear).ToJson();
        }
        #endregion

        #region 评分方式
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取评分方式数据列表, DataTable </i></b>
            <br><font color='blue'>string</font> strYear:年份")]
        public string GetExamScoreTypeTable(string strYear)
        {
            return ServiceBase.GetExamScoreTypeTable(strYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据主键ID获取评分方式实体, Model </i></b>
            <br><font color='blue'>string</font> strExamScoreTypeID:主键ID")]
        public string GetExamScoreTypeModel(string strExamScoreTypeID)
        {
            return ServiceBase.GetExamScoreTypeModel(strExamScoreTypeID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存评分方式实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:实体Json格式")]
        public string SaveExamScoreType(string strJson)
        {
            return ServiceBase.SaveExamScoreType(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除评分方式实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strExamScoreTypeID:数据ID")]
        public string DeleteExamScoreType(string strExamScoreTypeID)
        {
            return ServiceBase.DeleteExamScoreType(strExamScoreTypeID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据评分方式ID获取评分项, DataTable </i></b>
            <br><font color='blue'>string</font> strExamScoreTypeID:评分方式ID")]
        public string GetExamScoreTypeTable_Detail(string strExamScoreTypeID)
        {
            return ServiceBase.GetExamScoreTypeTable_Detail(strExamScoreTypeID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>根据评分项ID获取评分项, Model </i></b>
            <br><font color='blue'>string</font> strTypeItemID:评分项ID")]
        public string GetExamScoreTypeModel_Detail(string strTypeItemID)
        {
            return ServiceBase.GetExamScoreTypeModel_Detail(strTypeItemID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存评分项数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:评分项Json实体")]
        public string SaveExamScoreType_Detail(string strJson)
        {
            return ServiceBase.SaveExamScoreType_Detail(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除评分项数据, JsonMessage </i></b>
            <br><font color='blue'>string</font> strTypeItemID:评分项ID")]
        public string DeleteExamScoreType_Detail(string strTypeItemID)
        {
            return ServiceBase.DeleteExamScoreType_Detail(strTypeItemID).ToJson();
        }
        #endregion

        #region 考试方式
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考试方式数据列表, DataTable </i></b>
            <br><font color='blue'>string</font> strYear:年份")]
        public string GetExamTypeTable(string strExamYear)
        {
            return ServiceBase.GetExamTypeTable(strExamYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考试方式实体, Model </i></b>
            <br><font color='blue'>string</font> strDicNO:主键ID")]
        public string GetExamTypeModel(string strDicNO)
        {
            return ServiceBase.GetExamTypeModel(strDicNO).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考试方式实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:实体对象Json数据")]
        public string SaveExamType(string strJson)
        {
            return ServiceBase.SaveExamType(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除考试方式实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strDicNO:主键")]
        public string DeleteExamType(string strDicNO)
        {
            return ServiceBase.DeleteExamType(strDicNO).ToJson();
        }

        #endregion

        #region  专业、级别、考试方式 关联
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业级别考试方式管理表, DataTable </i></b>
            <br><font color='blue'>string</font> SpecialityKindsNO:专业
            <br><font color='blue'>string</font> ExamLevel:级别
            <br><font color='blue'>string</font> ExamYear:年份")]
        public string GetSpecialityLevelExamTypeMappingNameTable(string SpecialityKindsNO, string ExamLevel, string ExamYear)
        {
            return ServiceBase.GetSpecialityLevelExamTypeMappingNameTable(SpecialityKindsNO, ExamLevel, ExamYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业级别考试方式管理表, DataTable </i></b>
            <br><font color='blue'>string</font> ExamYear:年份")]
        public string GetSpecialityLevelExamTypeMappingTable(string ExamYear)
        {
            return ServiceBase.GetSpecialityLevelExamTypeMappingTable(ExamYear).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业级别考试方式实体对象, Model </i></b>
            <br><font color='blue'>string</font> strSpecialityLevelMappingID:主键")]
        public string GetSpecialityLevelExamTypeMappingModel(string strSpecialityLevelMappingID)
        {
            return ServiceBase.GetSpecialityLevelExamTypeMappingModel(strSpecialityLevelMappingID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存专业级别考试方式实体对象, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:实体Json数据")]
        public string SaveSpecialityLevelExamTypeMapping(string strJson)
        {
            return ServiceBase.SaveSpecialityLevelExamTypeMapping(strJson).ToJson();
        }
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除专业级别考试方式实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strSpecialityLevelMappingID:主键")]
        public string DeleteSpecialityLevelExamTypeMapping(string strSpecialityLevelMappingID, string SpecialityKindsNO, string ExamLevel)
        {
            return ServiceBase.DeleteSpecialityLevelExamTypeMapping(strSpecialityLevelMappingID, SpecialityKindsNO, ExamLevel).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存专业级别考试方式实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:Json数据格式List<TB_Sys_SpecialityLevelMapping>")]
        public string SaveSpecialityLevelMapping(string strJson)
        {
            return ServiceBase.SaveSpecialityLevelMapping(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取专业级别考试方式, DataTable </i></b>
            <br><font color='blue'>string</font> strSpecialityKindsNO:专业")]
        public string GetSpecialityLevelMapping(string strSpecialityKindsNO)
        {
            return ServiceBase.GetSpecialityLevelMapping(strSpecialityKindsNO).ToJson();
        }
        #endregion

        #region 考点专业相关
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考点专业关联表, DataTable </i></b>
            <br><font color='blue'>string</font> strExamPlaceNO:考点
            <br><font color='blue'>string</font> strSpecialityKindsNO:专业")]
        public string GetExamPlaceSpecialityKindsMappingTable(string strExamPlaceNO, string strSpecialityKindsNO)
        {
            return ServiceBase.GetExamPlaceSpecialityKindsMappingTable(strExamPlaceNO, strSpecialityKindsNO).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考点专业实体对象, Model </i></b>
            <br><font color='blue'>string</font> strExamPlaceSpecialityKindsMappingID:主键")]
        public string GetExamPlaceSpecialityKindsMappingModel(string strExamPlaceSpecialityKindsMappingID)
        {
            return ServiceBase.GetExamPlaceSpecialityKindsMappingModel(strExamPlaceSpecialityKindsMappingID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考点专业实体对象, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:实体对象Json格式")]
        public string SaveExamPlaceSpecialityKindsMapping(string strJson)
        {
            return ServiceBase.SaveExamPlaceSpecialityKindsMapping(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除考点专业, JsonMessage </i></b>
            <br><font color='blue'>string</font> strExamPlaceSpecialityKindsMappingID:主键")]
        public string DeleteExamPlaceSpecialityKindsMapping(string strExamPlaceSpecialityKindsMappingID)
        {
            return ServiceBase.DeleteExamPlaceSpecialityKindsMapping(strExamPlaceSpecialityKindsMappingID).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考点专业分组关联表, DataTable </i></b>
            <br><font color='blue'>string</font> strExamPlaceSpecialityKindsMappingID:考点专业关联表主键
            <br><font color='blue'>string</font> strExamPlaceNO:考点
            <br><font color='blue'>string</font> strSpecialityKindsNO:专业
            <br><font color='blue'>string</font> strExamLevel:级别")]
        public string GetExamPlaceSpecialityKindsGroupTable(string strExamPlaceSpecialityKindsMappingID, string strExamPlaceNO,
            string strSpecialityKindsNO, string strExamLevel)
        {
            return ServiceBase.GetExamPlaceSpecialityKindsGroupTable(strExamPlaceSpecialityKindsMappingID, strExamPlaceNO, strSpecialityKindsNO, strExamLevel).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取考点专业分组关联表实体, Model </i></b>
            <br><font color='blue'>string</font> strExamPlaceSpecialityKindsMappingID:考点专业关联表主键
            <br><font color='blue'>string</font> strGroupNo:分组编号")]
        public string GetExamPlaceSpecialityKindsGroupMappingModel(string strExamPlaceSpecialityKindsMappingID, string strGroupNo)
        {
            return ServiceBase.GetExamPlaceSpecialityKindsGroupMappingModel(strExamPlaceSpecialityKindsMappingID, strGroupNo).ToJson();
        }


        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存考点专业分组关联表, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:考点专业分组关联表Json数据")]
        public string SaveExamPlaceSpecialityKindsGroupMapping(string strJson)
        {
            return ServiceBase.SaveExamPlaceSpecialityKindsGroupMapping(strJson).ToJson();
        }


        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除考点专业分组关联表实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strExamPlaceSpecialityKindsMappingID:考点专业关联表主键
            <br><font color='blue'>string</font> strGroupNo:分组编号")]
        public string DeleteExamPlaceSpecialityKindsGroupMapping(string strExamPlaceSpecialityKindsMappingID, string strGroupNo)
        {
            return ServiceBase.DeleteExamPlaceSpecialityKindsGroupMapping(strExamPlaceSpecialityKindsMappingID, strGroupNo).ToJson();
        }
        #endregion

        #region Pad相关设置
        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取Pad显示字段设置, DataTable </i></b>
            <br><font color='blue'>string</font> strIsWhere:类别，0过滤设置过字段，其它全部")]
        public string GetDicPadShowFiledAllTable(string strIsWhere)
        {
            return ServiceBase.GetDicPadShowFiledAllTable(strIsWhere).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取Pad显示字段设置表，并排序, DataTable </i></b>
            <br><font color='blue'>string</font>")]
        public string GetDicPadShowFiledShowTable()
        {
            return ServiceBase.GetDicPadShowFiledShowTable().ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存Pad显示字段设置, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:List<TB_Dic_PadFiledShow> Json数据")]
        public string SaveDicPadFiledShow(string strJson)
        {
            return ServiceBase.SaveDicPadFiledShow(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>删除Pad显示字段设置, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:List<string> Json数据")]
        public string DeleteDicPadFiledShow(string strJson)
        {
            return ServiceBase.DeleteDicPadFiledShow(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>排序Pad显示字段设置, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:Dictionary<string, string> Json数据")]
        public string SortDicPadFiledShow(string strJson)
        {
            return ServiceBase.SortDicPadFiledShow(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存Pad评分评分页面信息展示配置, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:TB_Dic_PadExamScorePageSetting Json数据")]
        public string SavePadExamScorePageSetting(string strJson)
        {
            return ServiceBase.SavePadExamScorePageSetting(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>保存Pad评分评分页面信息展示配置明细, JsonMessage </i></b>
            <br><font color='blue'>string</font> strJson:List<TB_Dic_PadExamScorePageSetting_Detail> Json数据")]
        public string SavePadExamScorePageSettingDetail(string strJson)
        {
            return ServiceBase.SavePadExamScorePageSettingDetail(strJson).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取Pad评分评分页面信息展示配置实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strPadExamScorePageSettingType:主键")]
        public string GetPadExamScorePageSettingModel(string strPadExamScorePageSettingType)
        {
            return ServiceBase.GetPadExamScorePageSettingModel(strPadExamScorePageSettingType).ToJson();
        }

        [SoapHeader("MyHeader")]
        [WebMethod(Description = @"<b><i>获取Pad评分评分页面信息展示配置明细实体, JsonMessage </i></b>
            <br><font color='blue'>string</font> strPadExamScorePageSettingID:主键")]
        public string GetPadExamScorePageSettingDetailList(string strPadExamScorePageSettingID)
        {
            return ServiceBase.GetPadExamScorePageSettingDetailList(strPadExamScorePageSettingID).ToJson();
        }
        #endregion
    }
}
